﻿<%@ Page Title="Thông tin sản phẩm" Language="C#" MasterPageFile="~/ExtendedPage.master" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="CuaHangLego.Webform.Target" %>
<asp:Content ID="Content3" ContentPlaceHolderID="Products" runat="server">
    <h1>Chi tiết sản phẩm</h1>
    <asp:Panel ID="Panel2" runat="server">
        <asp:FormView ID="FormView1" runat="server" CssClass="ProductDetailTable">
            <ItemTemplate>

                <table>
                    <tr>
                        <td colspan="3" style="text-align:center">
                            <asp:Image ID="Image2" ImageUrl='<%# String.Format("../img/{0}", Eval("HinhAnh")) %>'  runat="server" Height="200px" />
                        </td>
                    </tr>
                    <tr>
                        <td><asp:Label ID="Label3" runat="server" Text="Tên" /></td>
                        <td><asp:Label ID="Label9" CssClass="ProductDetail" runat="server" Text='<%# Eval("Ten") %>' /></td>
                    </tr>
                    <tr>
                        <td><asp:Label ID="Label12" runat="server" Text="Giá bán" /></td>
                        <td><asp:Label ID="GiaBan" runat="server" Text='<%# String.Format(System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN"), "{0:n0}.000", Eval("GiaBan")) %>' meta:resourcekey="GiaBanResource1" /></td>
                    </tr>
                    <tr>
                        <td><asp:Label ID="Label10" runat="server" Text="Số mảnh ghép" /></td>
                        <td><asp:Label ID="Label11" CssClass="ProductDetail" runat="server" Text='<%# Eval("SoManhGhep") %>' /></td>
                    </tr>
                    <tr>
                        <td><asp:Label ID="Label14" runat="server" Text="Ngày sản xuất" /></td>
                        <td><asp:Label ID="Label15" CssClass="ProductDetail" runat="server" Text='<%# Eval("NgaySX") %>' /></td>
                    </tr>
                    <tr>
                        <td><asp:Label ID="Label16" runat="server" Text="Bảo hành" /></td>
                        <td><asp:Label ID="Label17" CssClass="ProductDetail" runat="server" Text='<%# Eval("BaoHanh") %>' /></td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:FormView>
        <asp:Panel runat="server" CssClass="TwoButton">
            <asp:Button ID="Button1" runat="server" Text="Thêm vào giỏ" CssClass="WhiteButton" OnCommand="Button1_Command" />
        </asp:Panel>

    </asp:Panel>
</asp:Content>